import React from 'react';
import {createStackNavigator} from '@react-navigation/stack';
const stack=createStackNavigator();
import Login from '../Pages/Login/Login';
import HomeNav from './HomeNav/HomeNav';
export default function() {
    return (
        <stack.Navigator
            screenOptions={{
                header: () => null
            }}
            initialRouteName="login"
        >
            <stack.Screen name="login" component={Login} />
            <stack.Screen name="Home" component={HomeNav} />
        </stack.Navigator>
    )
}
